package com.kate.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kate.mall.product.handler.Json2StringTypeHandler;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品规格表
 * 
 * @author kate-chan
 * @email 857782993@qq.com
 * @date 2022-12-06 23:21:04
 */
@Data
@TableName(value = "pms_goods_specification")
public class GoodsSpecificationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	@TableId
	private Integer id;
	/**
	 * 商品表的商品ID
	 */
	@ApiModelProperty(value = "商品表的商品ID")
	private Integer goodsId;
	/**
	 * 商品规格名称
	 */
	@ApiModelProperty(value = "商品规格名称")
	private String specification;
	/**
	 * 商品规格值
	 */
	@ApiModelProperty(value = "商品规格值")
	private String value;
	/**
	 * 商品规格图片
	 */
	@ApiModelProperty(value = "商品规格图片")
	private String picUrl;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date addTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**
	 * 逻辑删除
	 */
	@ApiModelProperty(value = "逻辑删除")
	@TableLogic
	private Integer deleted;

}
